//
//  XFDLogInInputView.h
//  XFDLogin_Example
//
//  Created by 韩冰 on 2017/11/3.
//  Copyright © 2017年 GL-ZHU. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^GetTextFromeInputView)(NSString *str);
typedef void(^GetCodeBlock)(void);
@interface XFDLogInInputView : UIView


@property (nonatomic, copy)NSString *placeholder;

@property (nonatomic, copy)NSString *codeBtnTitle;//默认获取验证码

@property (nonatomic, assign)NSInteger timeCount;//默认60.倒计时

@property (nonatomic, assign)BOOL isCiphertext;//是否密文显示 默认为NO

@property (nonatomic, assign)BOOL isClear;//是否显示删除按钮

@property (nonatomic, assign)BOOL isCiphertButton;//是否显示删除按钮

@property (nonatomic, copy)GetTextFromeInputView getTextFromeInputView;

@property (nonatomic, copy)GetCodeBlock getCodeBlock;

@property (nonatomic, copy,readonly)NSString *inputText;

@property (nonatomic, copy)NSString *defultText;

- (instancetype)initWithFrame:(CGRect)frame withIsCodeButton:(BOOL)isHas;

- (void)inputViewResignFirstResponder;

- (void)inputViewBecomeFirstResponder;
-(void)openCountdown;
@end
